﻿using System;

namespace Roy.Entity
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
    public class TemplateDataAttribute : Attribute
    {
        public string MappingName { get; set; }

        public string StartFlag { get; set; }

        public string EndFlag { get; set; }

        public TemplateDataAttribute()
        {
            StartFlag = "{";
            EndFlag = "}";
        }
    }
}